package com.ruoyi.opinion.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 意见反馈对象 jy_opinion
 *
 * @author ruoyi
 * @date 2021-11-16
 */
public class Opinion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 反馈类型C端/B端 */
    @Excel(name = "反馈类型C端/B端")
    private String opinionType;

    /** 反馈人id */
    @Excel(name = "反馈人id")
    private Long subUserId;

    /** 反馈文字内容 */
    @Excel(name = "反馈文字内容")
    private String opinionContent;

    /** 反馈的图片数组 */
    @Excel(name = "反馈的图片数组")
    private String opinionImages;

    /** 反馈的视频数组 */
    @Excel(name = "反馈的视频数组")
    private String opinionVideo;

    /** 是否已经处理 */
    @Excel(name = "是否已经处理")
    private String solveState;

    /** 处理人Id */
    @Excel(name = "处理人Id")
    private Long solveUserId;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date solveTime;

    /** 处理方式 */
    @Excel(name = "处理方式")
    private String solveContent;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOpinionType(String opinionType)
    {
        this.opinionType = opinionType;
    }

    public String getOpinionType()
    {
        return opinionType;
    }
    public void setSubUserId(Long subUserId)
    {
        this.subUserId = subUserId;
    }

    public Long getSubUserId()
    {
        return subUserId;
    }
    public void setOpinionContent(String opinionContent)
    {
        this.opinionContent = opinionContent;
    }

    public String getOpinionContent()
    {
        return opinionContent;
    }
    public void setOpinionImages(String opinionImages)
    {
        this.opinionImages = opinionImages;
    }

    public String getOpinionImages()
    {
        return opinionImages;
    }
    public void setOpinionVideo(String opinionVideo)
    {
        this.opinionVideo = opinionVideo;
    }

    public String getOpinionVideo()
    {
        return opinionVideo;
    }
    public void setSolveState(String solveState)
    {
        this.solveState = solveState;
    }

    public String getSolveState()
    {
        return solveState;
    }
    public void setSolveUserId(Long solveUserId)
    {
        this.solveUserId = solveUserId;
    }

    public Long getSolveUserId()
    {
        return solveUserId;
    }
    public void setSolveTime(Date solveTime)
    {
        this.solveTime = solveTime;
    }

    public Date getSolveTime()
    {
        return solveTime;
    }
    public void setSolveContent(String solveContent)
    {
        this.solveContent = solveContent;
    }

    public String getSolveContent()
    {
        return solveContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("opinionType", getOpinionType())
            .append("subUserId", getSubUserId())
            .append("opinionContent", getOpinionContent())
            .append("opinionImages", getOpinionImages())
            .append("opinionVideo", getOpinionVideo())
            .append("solveState", getSolveState())
            .append("solveUserId", getSolveUserId())
            .append("solveTime", getSolveTime())
            .append("solveContent", getSolveContent())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("updateType", getUpdateType())
            .toString();
    }
}
